<ion-header>
  <ion-toolbar class="home-list">
    <div class="scroll-box" *ngIf="headerMode=='page'">
      <ul autoWidth>
        <li *ngFor="let item of menus " value="{{item.id}}" [class.active]="selectedPage==item.id" (click)="onSegmentChange(item)">
          <span>{{item.name}}</span>
        </li>
      </ul>
    </div>
    <ion-navbar class="oragin-header" *ngIf="headerMode=='title'">
      <ion-title>办公</ion-title>
    </ion-navbar>
  </ion-toolbar>
</ion-header>
<ion-content *ngIf="selectedPage==''"></ion-content>
<todo-page [isFromMainPage]='isFromMainPage' *ngIf="selectedPage=='todo'"></todo-page>
<page-bcw-home class="main-include-page" [isFromMainPage]='isFromMainPage' *ngIf="selectedPage=='bcw'"></page-bcw-home>
<page-marketing-home class="main-include-page" [isFromMainPage]='isFromMainPage' *ngIf="selectedPage=='usp'"></page-marketing-home>
